import Mock from 'mockjs'
import homeApi from './mockServeData/home'
import userApi from './mockServeData/user'
import permissionApi from './permission'

Mock.mock('/home/getData', homeApi.getStatisticalData)

Mock.mock('/user', 'get', userApi.getUserList)
Mock.mock('/user', 'put', userApi.editUser)
Mock.mock('/user', 'post', userApi.addUser)
Mock.mock("/user", 'delete', userApi.deleteUser)


Mock.mock('/permission/getMenu', 'post', permissionApi.getMenu)



